package cc.lj.internal.payment.infrastructure.dao;

import cc.lj.internal.payment.infrastructure.po.TicketPayRecordPO;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;


/**
 * 合同收券记录表dao
 * @author liangxifeng
 * @date 2022-01-12
 */
@Mapper
public interface ITicketPayRecordMapper extends BaseMapper<TicketPayRecordPO> {
    /**
     * 查询已收款卖场分摊总和
     * @param wrapper
     * @return 查询已收款卖场分摊总和
     */
    public BigDecimal martSharePriceSum(@Param(Constants.WRAPPER) Wrapper<TicketPayRecordPO> wrapper);
}
